Fix minor problems found by static checking.
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 15 Aug 2013 16:28:42 +0000 (09:28 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 15 Aug 2013 16:28:42 +0000 (09:28 -0700)
commitbc4ddb95d3ec659af89a669ddf4cc60d991f3ecb
tree05e0799f404998b25a57766fb38e0dcf9922523a
parent45bea030c208ef6b944402c9f7f23691ce5a014e
Fix minor problems found by static checking.

* frame.c (delete_frame):
* xdisp.c (next_element_from_display_vector):
Avoid uninitialized local.
* image.c (imagemagick_compute_animated_image): Port to C89.
Prefer usual GNU indentation style for loops.
Be more careful about bizarrely large sizes, by using ptrdiff_t
instead of int.
src/ChangeLog
src/frame.c
src/image.c
src/xdisp.c